package com.ztrue.test;

import com.ztrue.framework.core.command.EventCommittingContext;
import com.ztrue.framework.core.event.DomainEventHandler;

import java.util.Date;

/**
 * @author zhangw
 * @version 1.0
 *          功能说明：
 */
public class CreateUserEventHandler extends DomainEventHandler<CreateUserEvent> {

    @Override
    public void handle(EventCommittingContext context, CreateUserEvent event) {
        System.out.println("aaaaaaaaaaaaaaaaaaaa" + new Date().toString());
    }
}
